<div>
  <table>
    <tr>
      <td>用户名</td>
      <td><input type="text" [(ngModel)]="model.username"></td>
    </tr>
    <tr>
      <td>密码</td>
      <td><input type="text" [(ngModel)]="model.password"></td>
    </tr>
    <tr>
      <td>
        <button type="button" (click)="login()">登录</button>
      </td>
    </tr>
  </table>
</div>
